/*
 * trireg test
 */

module test_trireg;

  trireg #(0,0,2) t1;
  reg r1, r2;
  assign t1 = r1;
  assign t1 = r2;

initial begin
  $strobe("t1 is: %b" , t1);
  r1 = 0;
  r2 = 'bz;
  #3;
  r1 = 'bz;
  #3;
  r2 <= 1;
  #3;
end
endmodule
